import dayjs from 'dayjs';

export default [
  {
    title: '生产型号',
    key: 'moduleNo'
  },

  {
    key: 'modifyTime',
    title: '录入时间',
    customRender: row => {
      return dayjs(row.modifyTime).format('YYYY-MM-DD HH:mm:ss');
    }
  },
  { key: 'inspectType', title: '检验类型' },
  { key: 'quantity', title: '检验数量(PNL)' },
  { key: 'drawingChangeChecks', title: '工程图变更检查' },
  { key: 'seriesExposureScale', title: '曝光尺级数' },
  { key: 'exposureNo', title: '曝光机号' },
  { key: 'developNo', title: '显影机号' },
  { key: 'resistModel', title: '油墨颜色要求' },
  { key: 'colourReal', title: '油墨颜色实际' },
  { key: 'cycleRequire', title: '周期要求' },
  { key: 'cycleReal', title: '周期实际' },
  { key: 'aInkThicknessRequire', title: 'A面油墨厚度要求' },
  { key: 'aInkThicknessActual', title: 'A面油墨厚度实际值1' },
  { key: 'aInkThicknessActual2', title: 'A面油墨厚度实际值2' },
  { key: 'aInkThicknessActual3', title: 'A面油墨厚度实际值3' },
  { key: 'aInkThicknessActual4', title: 'A面油墨厚度实际值4' },
  { key: 'aInkThicknessActual5', title: 'A面油墨厚度实际值5' },
  { key: 'bInkThicknessRequire', title: 'B面油墨厚度要求' },
  { key: 'bInkThicknessActual', title: 'B面油墨厚度实际值1' },
  { key: 'bInkThicknessActual2', title: 'B面油墨厚度实际值2' },
  { key: 'bInkThicknessActual3', title: 'B面油墨厚度实际值3' },
  { key: 'bInkThicknessActual4', title: 'B面油墨厚度实际值4' },
  { key: 'bInkThicknessActual5', title: 'B面油墨厚度实际值5' },
  { key: 'result', title: '判定' },
  { key: 'ngNum', title: '不良数' },
  { key: 'ngRatio', title: '不良率' },
  {
    key: 'shiftType',
    title: '班别',
    customRender: row => {
      return ['白班', '夜班'][row.shiftType];
    }
  },
  { key: 'operator', title: '检验员' },
  { key: 'checker', title: '审核人' },
  { key: 'checkTime', title: '审核时间' },
  { key: 'solderHasHalogen', title: '系统MI无卤素要求' },
  { key: 'remark', title: '备注' }
];
